#ifndef NS_IEVENT_HANDLER_H_
#define NS_IEVENT_HANDLER_H_

#include "ievent.h"
#include "eventtype.h"

class iEventHandler {
public:
	iEventHandler(const std::string &name):name_(name) {};
	virtual ~iEventHandler() {};
	virtual iEvent* handle(const iEvent* event) { return NULL; };
	std::string& get_name() { return name_; }

private:
	std::string name_;
};

#endif